<?php

namespace app\admin\model\sales;

use think\Model;

/**
 * Posinfo
 */
class Posinfo extends Model
{
    // 表名
    protected $name = 'sales_posinfo';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;


    public function stockLocations(): \think\model\relation\BelongsTo
    {
        return $this->belongsTo(\app\admin\model\stock\Locations::class, 'stock_locations_id', 'loccode');
    }
}